package edu.yuhf.tts.cui;

import java.util.Scanner;

public class SelectCUI {

	public static void firstSelect() {
		System.out.println("欢迎进入12306山寨网，请选择您需要的服务！");
		System.out.println("1....查询车票");
		System.out.println("2....购买车票");
		System.out.println("3....退票");
		System.out.println("4....退出");
		Scanner input=new Scanner(System.in);
		System.out.print("请选择：");
		String selected=input.nextLine();
		switch(selected) {
			case "1" :new QueryCUI().ShowQuery();break;
			case "2" :
				new QueryCUI().ShowQuery();
				System.out.println("请输入想购买车票的车次：");
				String trainId=input.nextLine();
				break;
			case "3" :break;
			case "4" :break;
			default:;
		}
		input.close();
	}
}
